using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using QLNhaSach.BUS.DTO;
using QLNhaSach.BUS;

namespace QLNhaSach.GUI
{
    public partial class DangXuat : Form
    {
        public int maNV;
        public DangXuat()
        {
            InitializeComponent();
        }

        private void btnDong_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {          
            this.MdiParent.Close();
            DangNhap frmDangNhap = new DangNhap();
            frmDangNhap.Show(); 
        }

        private void DangXuat_Load(object sender, EventArgs e)
        {
            NhanVienDTO nv;
            nv = NhanVienBUS.HienThiTTCN(maNV);
            lbTenNV.Text = nv.HoTen;
        }

        
    }
}